<?php defined('BASE_PATH') or die('No direct script access.'); ?>
<div style="width: 500px; margin: 0 auto; height: 100%; padding: 100px;">
    <section id="login-block">
        <div class="block-border"><div class="block-content">
                <h1>Admin</h1>
                <div class="block-header">Please login</div>
                <?php if(isset ($error)) { ?>
                <p class="message error no-margin">
                   <?php
                        foreach ($error as $value) {
                            echo $value.'<br/>';
                        }
                        unset($value);
                        ?>
                </p>
                    <?php } ?>
                <form class="form with-margin" name="login-form" id="login-form" method="post" action="">
                    <p class="inline-small-label">
                        <label for="login"><span class="big">User name</span></label>
                        <input type="text" name="user" id="login" class="full-width" value="">
                    </p>
                    <p class="inline-small-label">
                        <label for="pass"><span class="big">Password</span></label>
                        <input type="password" name="pass" id="pass" class="full-width" value="">
                    </p>
                    <button type="submit" class="float-right">Login</button>
                    <p class="input-height">
                        <input type="checkbox" name="keep-logged" id="keep-logged" value="1" class="mini-switch" checked="checked">
                        <label for="keep-logged" class="inline">Keep me logged in</label>
                    </p>
                </form>
                <!--<form class="form" id="password-recovery" method="post" action="">
                    <fieldset class="grey-bg no-margin collapse">
                        <legend><a href="#">Lost password?</a></legend>
                        <p class="input-with-button">
                            <label for="recovery-mail">Enter your e-mail address</label>
                            <input type="text" name="recovery-mail" id="recovery-mail" value="">
                            <button type="button">Send</button>
                        </p>
                    </fieldset>
                </form>-->
            </div></div>
    </section>
</div>